package com.tyk.bookstore.back.payment.model.query;

import com.tyk.bookstore.back.common.core.model.page.PageQuery;
import com.tyk.bookstore.back.payment.model.enume.ShopStatementType;
import com.tyk.bookstore.back.payment.model.enume.StatementNature;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author tyk
 * @description 书店流水
 */
@Data
@Schema(name = "ShopStatementPageQuery", description = "书店流水")
public class ShopStatementPageQuery extends PageQuery implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    private Long id;

    @Schema(description = "来源主体标识")
    private String otherSideIdentification;

    @Schema(description = "来源标识")
    private String sourceIdentification;

    @Schema(description = "交易值：起始")
    private BigDecimal modificationFrom;

    @Schema(description = "交易值：终止")
    private BigDecimal modificationTo;

    @Schema(description = "交易性质[0收入,1指出]")
    private StatementNature nature;

    @Schema(description = "交易类型")
    private ShopStatementType type;

    @Schema(description = "创建时间：起始")
    private LocalDateTime createTimeFrom;

    @Schema(description = "创建时间：终止")
    private LocalDateTime createTimeTo;

}
